package com.wzp.weiliao;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @author 王振鹏
 * @version 1.0
 * @date 2019/8/28 21:47
 * @Description: 使用外置tomcat启动application
 */
public class WarStartApplication extends SpringBootServletInitializer {
    public WarStartApplication(){


    }
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder){
      return builder.sources(WeiliaoApplication.class);
    }




}
